﻿// 这段 MFC 示例源代码演示如何使用 MFC Microsoft Office Fluent 用户界面
// (“Fluent UI”)。该示例仅供参考，
// 用以补充《Microsoft 基础类参考》和
// MFC C++ 库软件随附的相关电子文档。
// 复制、使用或分发 Fluent UI 的许可条款是单独提供的。
// 若要了解有关 Fluent UI 许可计划的详细信息，请访问
// https://go.microsoft.com/fwlink/?LinkId=238214.
//
// 版权所有(C) Microsoft Corporation
// 保留所有权利。

// stdafx.h : 标准系统包含文件的包含文件，
// 或是经常使用但不常更改的
// 特定于项目的包含文件

#pragma once

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN            // 从 Windows 头中排除极少使用的资料
#endif

#include "targetver.h"

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // 某些 CString 构造函数将是显式的

// 关闭 MFC 对某些常见但经常可放心忽略的警告消息的隐藏
#define _AFX_ALL_WARNINGS

#include <afxwin.h>         // MFC 核心组件和标准组件
#include <afxext.h>         // MFC 扩展


#include <afxdisp.h>        // MFC 自动化类



#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h>           // MFC 对 Internet Explorer 4 公共控件的支持
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>             // MFC 对 Windows 公共控件的支持
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <afxcontrolbars.h>     // 功能区和控件条的 MFC 支持
#include <afxcontrolbars.h>



#define WM_UPDATE_LOG_MESSAGE (WM_USER+100) 
/* 更新辐射参数计算对话框的Progressbar */
#define WM_UPDATE_PROJECT_RADIATION_RUN_PROGRESS (WM_USER+101) 




#ifndef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif


#include <afxcmn.h>
#include <afxcmn.h>
#include <afxwin.h>
#include <afxcview.h>
#include <afxcview.h>
#include <afxcontrolbars.h>



#pragma warning(disable : 4244)
#pragma warning(disable : 4278)

#pragma warning(push)
#pragma warning(disable : 4192) /* Ignore warnings for types that are duplicated in win32 header Files (x86) */
#pragma warning(disable : 4146) /* Ignore warnings for use of minus on unsigned types */

#import "libid:6FCCEDE0-179D-4D12-B586-58C88D26CA78" raw_interfaces_only no_implementation
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriSystem.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids, exclude("OLE_COLOR", "OLE_HANDLE", "VARTYPE") rename("min", "esriMin") rename("max", "esriMax")
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriSystemUI.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids,exclude("OLE_COLOR",/*"ICommand",*/"IProgressDialog") rename("ICommand", "esriICommand")
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriControls.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriGeometry.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids,exclude("OLE_COLOR")
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriDisplay.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids,exclude("OLE_COLOR") rename("RGB", "esriRGB") rename("CMYK", "esriCMYK") rename("ResetDC", "esriResetDC") rename("GetMessage", "esriGetMessage")
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriOutput.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids,exclude("OLE_COLOR")
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriGeoDatabase.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids,exclude("OLE_COLOR"/*,"ICursor"*/), rename("GetMessage", "esriGetMessage") ,rename("ICursor", "esriICursor"),rename("IRow", "esriIRow")
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriDataSourcesFile.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriDataSourcesGDB.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriDataSourcesRaster.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids,exclude("OLE_COLOR"/*,"IWorkspaceFactory","IWorkspace"*/)
#import "D:\Program Files (x86)\ArcGIS\Engine10.2\com\esriCarto.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids,exclude("OLE_COLOR","UINT_PTR") rename("ITableDefinition","esriITableDefinition")

#pragma warning(pop) 


#include "LoggerWriter.h"

#include "zModule.h"

#include "ckRunTime.h"
#include "ckEnvironment.h"

#include "ckConnection.h"
#include "ckConnectionFactory.h"

#include "ckElementRepository.h"
#include "ckElementRepositoryFactory.h"

#include "ckCheckItem.h"
#include "ckCheckElement.h"
#include "ckEnumCheckElement.h"

#include "ckModuleManager.h"
#include "ckOpInput.h"
#include "ckArgument.h"
#include "ckValue.h"
#include "ckRule.h"
#include "ckConstraint.h"

#include "ckDataProduct.h"
#include "ckDataProductManager.h"
#include "ckCheckModel.h"
#include "ckCheckModelManager.h"
#include "ckCheckModelManagerFactory.h"
#include "ckEnumCheckModel.h"
#include "ckCheckCase.h"
#include "ckEnumCheckCase.h"
#include "ckCheckCaseManager.h"
#include "ckCheckCaseManagerFactory.h"

#include "ckCheckProject.h"
#include "ckEnumCheckProject.h"
#include "ckCheckProjectManager.h"
#include "ckCheckProjectManagerFactory.h"

#include "ckFolder.h"
#include "ckEnumFolder.h"
#include "ckDataSource.h"
#include "ckFileDataSource.h"
#include "ckFolderDataSource.h"
#include "ckEnumDataSource.h"
#include "ckDataSourceManager.h"
#include "ckDataSourceManagerFactory.h"

#include "ckEnumDataset.h"

#include "ckEnumOperator.h"
#include "ckEnumID.h"
#include "ckEnumString.h"

#include "ckSchema.h"
#include "ckGroup.h"
#include "ckField.h"
#include "ckFieldDef.h"
#include "ckEnumGroup.h"
#include "ckEnumField.h"

#include "ckFunction.h"

#include "ckSchemaReader.h"

//#include "xDocument.h"
//#include "xElement.h"
//#include "xAttribute.h"


#include "ckRaster.h"
#include "ckRasterBand.h"
#include "ckEnumRasterBand.h"
#include "ckRasterFactory.h"
#include "ckRasterMask.h"
#include "ckRasterHistogram.h"
#include "ckRasterRadiation.h"

#include "ckRasterDataset.h"
#include "ckLandsat.h"
#include "ckLandsat05.h"
#include "ckLandsatRadiation.h"
#include "ckLandsatNameParser.h"
#include "ckLandsatMetaData.h"
#include "ckMetaGroup.h"
#include "ckLandsatMetaDataReader.h"

#include "ckLandsatRawMetaData.h"
#include "ckLandsatRawMetaGroup.h"

#include "ckLandCover30.h"
#include "ckLandCover30MetaReader.h"
#include "ckWorkspace.h"
#include "ckEnumWorkspace.h"

#include "ckChecker.h"
#include "ckCheckResult.h"
#include "ckCheckResultItem.h"
#include "ckCheckResultSet.h"
#include "ckCheckResultWriter.h"
#include "ckXMLCheckResultWriter.h"
#include "ckLandsatMetaIntegrityChecker.h"
#include "ckLandsatMetaCorrectnessChecker.h"
#include "ckLandsatFileChecker.h"

#include "ckMatrix.h"
#include "ckMatrixD.h"
#include "ckRasterGLCM.h"
#include "ckRasterGLCMFactory.h"
#include "ckRasterEnvironment.h"

#include "ckPSNRProcessor.h"
#include "ckMSEProcessor.h"
#include "ckSIMProcessor.h"

#include "ckRasterBandRadiationProcessor.h"

#include "widgets/zxCheckProjectTreeCtrl.h"
#include "widgets/zxCheckProjectPropertyDialog.h"
#include "widgets/zxCheckProjectPropertyCtrl.h"
#include "widgets/zxLandsatMetaDialog.h"
//////////////////////////////////////////////////////////////////////////

#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxwin.h>
#include <afxcview.h>
#include <afxcview.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxwin.h>
#include <afxcmn.h>
#include <afxcmn.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxwin.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxwin.h>
#include <afxcmn.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxwin.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxwin.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxwin.h>
#include <afxcview.h>
#include <afxcview.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcmn.h>

